$OpenBSD: patch-libsrc_zlib_contrib_minizip_ioapi_h,v 1.1.1.1 2013/04/22 17:32:31 zhuk Exp $
--- libsrc/zlib/contrib/minizip/ioapi.h.orig	Thu Nov 10 15:58:56 2011
+++ libsrc/zlib/contrib/minizip/ioapi.h	Thu Nov 10 15:58:42 2011
@@ -44,7 +44,7 @@
 #include <stdlib.h>
 #include "zlib.h"
 
-#if defined(USE_FILE32API)
+#if defined(USE_FILE32API) || defined(__OpenBSD__)
 #define fopen64 fopen
 #define ftello64 ftell
 #define fseeko64 fseek
